package edu.nf.work.mapper;

import edu.nf.work.entity.Product;

import java.util.List;

/**
 * @author XCH
 * @date 2025 - 09 - 17
 */
public interface ProductMapper {
    List<Product> listProducts();
    Product getProduct(Integer id);
    void addProduct(Product product);
    void updateProduct(Product product);
    void deleteProduct(Integer id);
}
